<%@ page import="com.du.Person" %>



<div class="fieldcontain ${hasErrors(bean: personInstance, field: 'birthDay', 'error')} required">
	<label for="birthDay">
		<g:message code="person.birthDay.label" default="Birth Day" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="birthDay" precision="day"  value="${personInstance?.birthDay}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: personInstance, field: 'email', 'error')} ">
	<label for="email">
		<g:message code="person.email.label" default="Email" />
		
	</label>
	<g:textField name="email" value="${personInstance?.email}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: personInstance, field: 'hiredDay', 'error')} required">
	<label for="hiredDay">
		<g:message code="person.hiredDay.label" default="Hired Day" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="hiredDay" precision="day"  value="${personInstance?.hiredDay}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: personInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="person.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${personInstance?.name}"/>
</div>

